
#ifndef LINESTRIPEPANEL_H
#define LINESTRIPEPANEL_H

#include <BLineStripe>
#include <BDoubleSpinBox>
#include <BFloatSpinBox>
#include <BLongSpinBox>
#include <BCheckBox>
#include <BListWidget>

using namespace BWE;

class LineStripePanel : public BWidget
{
public:
	LineStripePanel(BWidget* parent = 0);
	~LineStripePanel();

protected:
	void slotAssetChanged(BObject* object, const BValue& value);

	void slotCloseLoopToggled(BObject* object, const BValue& value);
	void slotCornerVisibleToggled(BObject* object, const BValue& value);
	void slotThicknessEditFinished(BObject* object, const BValue& value);
	void slotRadiusEditFinished(BObject* object, const BValue& value);
	void slotRadiusesListWidgetFramed(BListWidget* listWidget, const BValue& value);

private:
	BLineStripe*		_lineStripe;
	BLongSpinBox*		_pointCountSpinBox;
	BDoubleSpinBox*		_lengthSpinBox;
	BCheckBox*			_closeLoopCheckBox;
	BCheckBox*			_cornerVisibleCheckBox;
	BDoubleSpinBox*		_thicknessSpinBox;
	BFloatSpinBox*		_radiusSpinBox;
	BListWidget*		_radiusesListWidget;
};



#endif
